package com.zxl.java8.functional;

import java.util.function.Supplier;

/**
 * 接口可以声明并且实现
 * 
 * @author za-zhangxiaolong
 *
 */
public interface DefaulableFactory {

	static Defaulable create(Supplier<Defaulable> supplier) {
		return supplier.get();
	}
}
